<?php /* Smarty version 2.6.19, created on 2008-06-17 18:40:28
         compiled from admin/userlist/profile.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'admin/userlist/profile.tpl', 14, false),array('modifier', 'count', 'admin/userlist/profile.tpl', 24, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/inc/header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<div id="content">

<table id="mytable2" cellspacing="0">
<caption>Profile of user #<?php echo $this->_tpl_vars['user']['user_id']; ?>
</caption>

  	<tr>
  	<th scope="col" height="10">Nick name</th>
    <th class="specalt"><?php echo $this->_tpl_vars['user']['user_login']; ?>
</th>
	</tr>
	<tr>
  	<th scope="col">Avatar</th>
    <th class="spec"><img height="200" width="200" src="<?php echo $this->_tpl_vars['user']['user_path']; ?>
/<?php echo ((is_array($_tmp=@$this->_tpl_vars['user']['user_avatar'])) ? $this->_run_mod_handler('default', true, $_tmp, no) : smarty_modifier_default($_tmp, no)); ?>
"></th>
	</tr>
	<tr>
	<th scope="col">Online status</th>
	<th class="specalt"><?php if ($this->_tpl_vars['user']['user_active'] == 1): ?><div id="online">Online</div>
		<?php else: ?><div id="offline">Offline</div><?php endif; ?></th>
	</tr>
	<tr>
	<th scope="col">Block</th>
	<th class="spec">
		<?php if (((is_array($_tmp=$this->_tpl_vars['user']['user_block'])) ? $this->_run_mod_handler('count', true, $_tmp) : count($_tmp)) == 0): ?>NO | <a href = "/admin/userlist/block/<?php echo $this->_tpl_vars['user']['user_id']; ?>
/">block this user</a>
		<?php else: ?><div id="offline">till <?php echo $this->_tpl_vars['user']['user_block']; ?>
</div> <a href = "/admin/userlist/unblock/<?php echo $this->_tpl_vars['user']['user_id']; ?>
/">unblock this user</a><?php endif; ?></th>
	</tr>
	<tr>
	<th scope="col">Phone num.</th>
	<th class="specalt"><?php echo $this->_tpl_vars['user']['user_number']; ?>
</th>
	</tr>
	<tr>
	<th scope="col">E-mail</th>
	<th class="spec"><?php echo $this->_tpl_vars['user']['user_mail']; ?>
</th>
	</tr>
	<tr>
	<th scope="col">Sex</th>
	<th class="specalt"><?php echo $this->_tpl_vars['user']['user_sex']; ?>
</th>
	</tr>
	<tr>
	<th scope="col">Country</th>
	<th class="spec"><?php echo $this->_tpl_vars['user']['user_country']; ?>
</th>
	</tr>
	<tr>
	<th scope="col">City</th>
	<th  class="specalt"><?php echo $this->_tpl_vars['user']['user_city']; ?>
</th>
	</tr>
	<tr>
	<th scope="col">Description</th>
	<th class="spec"><?php echo $this->_tpl_vars['user']['user_description']; ?>
</th>
	</tr>
	<tr>
	<th scope="col">Created</th>
	<th class="specalt"><?php echo $this->_tpl_vars['user']['user_created']; ?>
</th>
	</tr>
	<tr>
	<th scope="col">Updated</th>
	<th class="spec"><?php echo $this->_tpl_vars['user']['user_updated']; ?>
</th>
  </tr>
  <tr>
	<th scope="col">Abused</th>
	<th class="spec"><?php echo $this->_tpl_vars['user']['abuse_count']; ?>
</th>
  </tr>
  <tr>
	<th scope="col">Rating</th>
	<th class="spec"><?php echo $this->_tpl_vars['user']['user_rating']; ?>
<div class="action add" id="add_flow">
			<a href="/admin/userlist/increase/<?php echo $this->_tpl_vars['user']['user_id']; ?>
/">shuld be on "most rated" page</a></th>
  </tr>
</table>
<?php if ($this->_tpl_vars['user']['abuse_count'] > 0): ?>
<table id="abusetable">
	
	<tr>
	<td class="spec">Abuse from</th>
	<td class="spec">Abuse reason</th>
	</tr>
	<?php $_from = $this->_tpl_vars['abuses']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['foo'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['foo']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['i']):
        $this->_foreach['foo']['iteration']++;
?>
	<tr>
	<td <?php if (($this->_foreach['foo']['iteration']-1)%2 == 0): ?> class="specalt"<?php else: ?> class="spec"<?php endif; ?>>
		<a href="/admin/userlist/profile<?php if ($this->_tpl_vars['i']['user_password'] == ''): ?>guest<?php endif; ?>/<?php echo $this->_tpl_vars['i']['user_id']; ?>
/"><?php echo $this->_tpl_vars['i']['user_login']; ?>

	</td>
	<td <?php if (($this->_foreach['foo']['iteration']-1)%2 == 0): ?> class="specalt"<?php else: ?> class="spec"<?php endif; ?>>
		<?php echo $this->_tpl_vars['i']['abuse_reason']; ?>

	</td>
	</tr>
	<?php endforeach; endif; unset($_from); ?>
</table>
<?php endif; ?>

<div class="side-col last">

<div class="action add" id="add_flow">
			<a href="/admin/userlist/all/">Back to user list</a>
</div>
</div>
<!-- content-->
</div>